﻿<UserControl x:Class="Moop.UI.Controls.Views.AddServerView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="600"
             d:DesignWidth="165">
    <Grid>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="165" />
        </Grid.ColumnDefinitions>

        <StackPanel Grid.Column="0"
                    Orientation="Horizontal"
                    HorizontalAlignment="Left"
                    VerticalAlignment="Top">

            <StackPanel>
                <TextBox x:Name="AddServerTxtBox"
                         Width="120"
                         Height="20"
                         Margin="5"
                         Text="Data Source=.;Catalog=Adventure Works DW 2008R2;"></TextBox>
            </StackPanel>
            <Button Width="20"
                    Height="20"
                    Margin="5"
                    Command="{Binding SetServerCommand}">
                <StackPanel>
                    <Image Source="/Moop.UI.Assets;component/Images/16/server16.png" />
                </StackPanel>
            </Button>

        </StackPanel>
    </Grid>

</UserControl>

    